package com.wuyou.api;

import com.wuyou.domain.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("worryfree-map-lookhouse-service")
public interface MapLookHouse {


    /**
     *
     * @param lng 经度   116.2524676
     * @param lat  纬度   40.1149514
     * @param zoom 缩放等级  16(200m内)
     * @return
     */
    @GetMapping("queryHouse")
    Result mapLookHouse(@RequestParam("lng") Double lng,
                        @RequestParam("lat")Double lat,
                        @RequestParam("zoom") Integer zoom);
}
